import Vue from 'vue'
import App from './App'
import store from './store/index.js'
import router from './router/index.js'
import Router from 'uni-simple-router'
import uView from 'uview-ui'
import AuthorAdapte from './utils/authorAdapte.js'
import httpInterceptor from './api/http.js'
Vue.use(Router)
Vue.use(uView)
Vue.prototype.$AuthorAdapte= AuthorAdapte
Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
	store,
    ...App
})
Vue.use(httpInterceptor,app)//api拦截器注册
app.$mount()
